}
static void
-entry_handle_method (GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *method_name,
- GVariant *parameters,
- GDBusMethodInvocation *invocation,
- gpointer user_data)
+editable_handle_method (GDBusConnection *connection,
+ const gchar *sender,
+ const gchar *object_path,
+ const gchar *interface_name,
+ const gchar *method_name,
+ GVariant *parameters,
+ GDBusMethodInvocation *invocation,
+ gpointer user_data)
{
GtkATContext *self = user_data;
GtkAccessible *accessible = gtk_at_context_get_accessible (self);
}
}
-static const GDBusInterfaceVTable entry_vtable = {
- entry_handle_method,
+static const GDBusInterfaceVTable editable_vtable = {
+ editable_handle_method,
NULL,
};
const GDBusInterfaceVTable *
gtk_atspi_get_editable_text_vtable (GtkAccessible *accessible)
{
- if (GTK_IS_ENTRY (accessible) ||
- GTK_IS_SEARCH_ENTRY (accessible) ||
- GTK_IS_PASSWORD_ENTRY (accessible) ||
- GTK_IS_SPIN_BUTTON (accessible))
- return &entry_vtable;
+ if (GTK_IS_EDITABLE (accessible))
+ return &editable_vtable;
else if (GTK_IS_TEXT_VIEW (accessible))
return &text_view_vtable;